package com.charge.web;

import com.charge.service.UserSecurityService;
import com.charge.util.Const;
import com.charge.util.WebResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Description :
 * Author : 91658
 * Date : 2018/6/14 10:38
 **/
@Controller
@RequestMapping("/user_security")
public class UserSecurityController {

    @Autowired
    private UserSecurityService userSecurityService;

    @RequestMapping("/insert_user_security")
    public WebResponse<String> insertUserSecurity() {
        userSecurityService.insertUserSecurity();;
        return WebResponse.createBySuccess(Const.SUCCESS, "");
    }

}
